
	
** Table B5: Propogation based on initial level (within district)
set more off
use "$datadir\ewallet\maindata.dta", clear
	
	g postXpreexposure = post*pre_OK
	g postXpreamount = post*l_amountpre
	label var postXpreexposure " $ \text{ \mathbf{1} (Any Adopter)}_{d} $ $ \times $ Post"
	label var postXpreamount " $ \text{ \log(pre-amount)}_{d} $ $ \times $ Post"
	
	reghdfe  logamount postXpreexposure if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(amount) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  replace
	reghdfe  logamount postXpreamount if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(amount) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognumfirms postXpreexposure if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(# users) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognumfirms postXpreamount if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(# users) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognewfirms postXpreexposure if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(# switchers) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	reghdfe  lognewfirms postXpreamount if $filters, a($fe $controls##i.time_id) cluster(district_id)
	outreg2 using "$outputdir_tab\Table_H_6", tex(frag) ctitle(" log(# switchers) ") dec(3) bracket label addtext(District f.e. , $\checkmark$ , Month f.e. , $\checkmark$ , District Controls $\times$ Month f.e., $\checkmark$ ) nocons nonotes stats(coef se)  append
	